Function returns 0 value even though it has a different number stored in it

visit shbcf.ru